import type { FC } from 'react'
import React from 'react'
import Main from '@/app/components'

const App: FC<{ params: any;searchParams: Record<string, string> }> = (props) => {
  const { params, searchParams } = props
  const sys = searchParams.sys || 'default'
  return (
    <Main params={params} sys={sys}/>
  )
}

export default React.memo(App)
